package chatController;

/**
 * Mission: Observer of the state or list changements in the model.
 * Classe use in the pattern Observer.
 * @author bazile gaye
 */
public abstract class Observer {
    /**
     * One attribut: the model (type: User)
     * 2 methods: updateList() and updateState()
     */
    protected User model;
    /**
     * Method used to update the list.
     */
    public abstract void updateList();
    /**
     *Method used to update the state of the system.
     */
    public abstract void updateState();
}
